<?php

hc_core_ClassLoader::load('halo_AbstractView');

class halo_JsonView extends halo_AbstractView {

    public function doRender(array $model, halo_HttpRequest $httpRequest, halo_HttpResponse $httpResponse) {
        if ( $model === null ) $model = array();
        return json_encode($model);
    }

}

?>
